package com.itheima.filter;

import jakarta.servlet.*;

import java.io.IOException;

//@WebFilter(urlPatterns = "/*")
public class ABCFilter implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("ABC.filter前");
        filterChain.doFilter(servletRequest,servletResponse);
        System.out.println("ABC.filter后");
    }
}
